package com.example.smartcity_ikun3.ui

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.smartcity_ikun3.MainActivity
import com.example.smartcity_ikun3.R
import com.example.smartcity_ikun3.logic.base.BaseActivity
import kotlin.concurrent.thread

class GuideActivity : BaseActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        supportActionBar?.hide()
        setContentView(R.layout.activity_guide)

        runOnUiThread {
            thread {
                Thread.sleep(1000)
                startActivity(Intent(this, MainActivity::class.java))
                finish()
            }
        }
    }

    override fun getLayout(): Int = R.layout.activity_guide

    override fun initData() {
    }

    override fun initView() {
    }

    override fun initEvent() {
    }
}